09. Exercise: Setup Settings
Exercise Code
In this exercise, you will get to setup the settings activity.
Exercise: T06.01-Exercise-SetupTheActivity
Setup the Settings Activity
SOLUTION:
- Create a new Activity called SettingsActivity
- Create a new resource folder called menu
- Create visualizer_menu.xml in menu and add a menu item in it
- Add the menu to the menu bar
- Handle "Settings" menu item click to open SettingsActivity
- Make sure activity_settings.xml is in RelativeLayout